import React from 'react';
import Layout from "../components/Layout";
import { Typography, TextField, Button, Divider, Container } from "@material-ui/core";
import ReactDOM from 'react-dom';

export default function InstallPage() {

  return (
    <Layout>
        <Typography variant="h5">建立超级管理员</Typography>
        <form>
            <TextField label="用户名" fullWidth />
            <TextField label="密码" fullWidth />
            <TextField label="重复密码" fullWidth />
            <TextField label="邮箱" fullWidth />
            <TextField label="手机号" fullWidth/>
            <Container>
                <br/>
                 <Divider />

                <Button type="sumit" variant="contained" fullWidth color="primary">确认以上信息，开始创建超级管理员</Button>

            </Container>
        </form>
    </Layout>
  );
}

ReactDOM.render(<InstallPage />, document.getElementById('app'));